﻿@using Controllers
@{
    var func=new MyFunc();
}
		<div class="top1"
			<div class="box"></div>
		</div>
		<div class="top2">
			<div class="box">
				<div id="logo">@{var logo=func.GetAdList("logo");}
			@for(var i=0;i<logo.Count;i++){
				<a href="@logo[i].url" title="@logo[i].alt"><img src="@logo[i].src" title="@logo[i].alt" alt="@logo[i].alt" /></a>
			}</div>
				<div id="tel">
@{var tel=func.GetAdList("tel");}
			@for(var i=0;i<tel.Count;i++){
				<a href="@tel[i].url" title="@tel[i].alt"><img src="@tel[i].src" title="@tel[i].alt" alt="@tel[i].alt" /></a>
			}</div>
			</div>
		</div>
		<div class="nav">
			<div class="box">
				<ul>
					@{
						var nav = func.GetNav();//获取导航
					}
					@for (int i = 0; i < nav.Count; i++)
					{ 
					<li><a href="@nav[i].url" title="@nav[i].title">@nav[i].title</a></li>   
					}  
				</ul>
			</div>
		</div>